#include <iostream>
#include "mypair.h"
#include "myvector.h"
#include "company.h"
#include "library1.h"

#include "tests/AllTests.h"

using std::cout;
using std::endl;

int test_main()
{
    myVector<int> first (3,0);
    myVector<int> second (5,0);

      second=first;
      first=myVector<int>();

      cout << "Size of first: " << int (first.Size()) << endl;
      cout << "Size of second: " << int (second.Size()) << endl;

	  shared_ptr<Employee> emp1(new Employee(0,0,100));
	  shared_ptr<Employee> emp2(new Employee(1,0,150));
	  Company c0 = Company(0);
	  c0.UpdateSalary(100);
	  Company c1 = Company(1);
	  c0.HireEmployee(emp1);
	  c1.HireEmployee(emp2);
	  c0.UpdateSalary(rational::Rational(3,2));
	  c0.Merge(c1);
	  rational::Rational s0 = c0.GetRealSalary(*emp1);
	  rational::Rational s1 = c0.GetRealSalary(*emp2);

	  RunAVLTests();

      return 0;
}
